<template>
  <div class="tide_detail">
    <!-- {{this.$store.state.tidem.detailarr.goods}} -->
    <DetailSwiper  :imgarr="this.$store.state.tidem.detailarr.goods.images"/>
    <DetailInfo :obj="this.$store.state.tidem.detailarr.goods"/>
  </div>
</template>

<script>
import DetailSwiper from "@c/tide/detail_swiper.vue"
import DetailInfo from "@c/tide/detail_info.vue"
export default {
    components:{
        DetailSwiper,DetailInfo
    },
    mounted(){
        let id = this.$route.query.id ? this.$route.query.id : 5;
        console.log(id)
        this.$store.dispatch("actionsdetail",{url:"http://81.68.226.70:8050/goods/detail/"+ id + "/"})
    }
}
</script>

<style>
    html{
        background-color: #f6f5f5;
    }
</style>